package com.iwhalecloud.citybrain.flow.platform.manager.application.common.enums;

/**
 * @author lilh
 * @date 2021/4/6 17:18
 */
public enum EmbedOperateEnum {

    /**
     *
     */
    APPLY("apply", "申请"),
    DETAIL("detail", "详情");

    private String code;

    private String desc;

    EmbedOperateEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public static EmbedOperateEnum getOperate(String code) {
        return EmbedOperateEnum.valueOf(code.toUpperCase());
    }
}
